package com.my.screenadapter.eventBus.eventBusDemo;

import android.os.Looper;

/**
 * Created by zhangyingjie on 2019-07-27
 *
 * @function
 */
public class Client {

    private MyHandlerPoster myHandlerPoster;

    public Client() {
        Looper mainLooper = Looper.getMainLooper();
        myHandlerPoster = new MyHandlerPoster(mainLooper);
    }

    public void post(Object obj){
      myHandlerPoster.post((UserEvent)obj);
    }

}
